<template>
  <div class="return-info">
    <div class="left-bottom-info">
      <div>是否巡检： {{ info.acted ? '是' : '否' }}</div>
      <div>是否异常： <span>{{ info.description ? '是' : '否' }}</span></div>
      <div>巡检时间： {{ info.complete_at }}</div>
      <div class="imgBox" v-if="info.customer_sign"><div>
        客户签名：</div>
        <CustomImage   :src="info.customer_sign_image" :errortype="true"
                      style="width: 100px;height: 100px;"/></div>
      <div class="imgBox"><div>巡检照片：</div>
          <CustomImage  v-for="(item,index) in info.images" :key="index" :src="item" :errortype="true"
                       style="width: 100px;height: 100px;"/>
      </div>
      <div>回执内容： {{ info.description }}</div>


    </div>
  </div>

</template>

<script>
import CustomImage from "@/components/CustomImage.vue";
export default {
  props: ['info'],
  components: {CustomImage},
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.return-info {
  .audit-content {
    padding: 20px;
    padding-left: 50px;
    height: 160px;
  }
}

.divider-wrap {
  padding: 10px;
  width: 100%;

  .el-divider ::v-deep span {
    color: #ccc;
  }

}

.return-info div {
  padding: 10px 5px;
}
.imgBox{
  display: flex;
}
</style>
